ThirstyAffiliates\Models\Stats_Reporting C

Total Complexity 125
Dependencies 9
Dependents 1
Total lines 1,063
Lines of code 446
Logical lines of code 291
Comment lines 394
Methods 31
Properties 5

Methods 31

Method Rating Maintainability Complexity Lines of code
prepare_data_for_flot()
A
38 13 67
save_click_data_on_redirect()
A
57 12 13
ajax_save_click_data_on_redirect()
A
52 11 21
ajax_fetch_report_by_linkid()
A
47 10 31
ajax_init_first_report()
A
47 8 31
get_link_performance_report_content()
A
54 8 18
get_report_range_details()
S
46 6 39
save_click_data()
S
47 6 37
implement_stats_trimmer()
S
56 4 16
render_reports_nav()
S
58 4 16
delete_stats_data_on_affiliate_link_deletion()
S
59 4 13
count_total_clicks_from_flot_data()
S
67 4 7
get_current_report()
S
69 4 6
render_reports()
S
60 3 14
get_click_meta()
S
58 3 14
get_link_performance_data()
S
63 3 9
run()
S
60 2 12
add_reports_submenu()
S
63 2 11
get_instance()
S
72 2 5
prevent_save_click_if_useragent_is_bot()
S
72 2 6
set_browser_zone_str()
S
75 2 4
get_report_timezone_string()
S
79 2 3
initialize()
S
65 2 8
register_link_performance_report()
S
62 1 11
get_all_reports()
S
80 1 3
register_admin_menu_items()
S
76 1 4
get_month_first_day_datetime_obj()
S
71 1 5
schedule_stats_trimmer_cron()
S
68 1 7
register_admin_interfaces()
S
70 1 6
activate()
S
82 1 3
__construct()
S
71 1 6